package com.zking.service.impl.zzsf;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.domain.Payment;
import com.zking.dao.domain.Super;
import com.zking.dao.domain.ComUser;
import com.zking.dao.mapper.zzsf.PaymentMapper;
import com.zking.service.zzsf.PaymentService;

@Service
public class PaymentImpl implements PaymentService{
	@Autowired
	private PaymentMapper payMapper;
	@Override
	public int addPay(Payment pay) {
		int i = payMapper.addPay(pay);
		return i;
	}
	@Override
	public Super sr(int id) {
		Super supers = payMapper.sr(id);
		return supers;
	}
}
